Tell (Simple Statement)
A simple Tell statement specifies the object to which to send a command.SYNTAX
tell referenceToObject to statementwherereferenceToObject is a reference to an application object, system object, or
script object.statement is any AppleScript statement.
EXAMPLE
tell front window of application "Scriptable Text Editor" to closeNOTES
If referenceToObject specifies an application on a remote computer, additional conditions must be met. These conditions are described in "References to Applications," which begins on page 145.If referenceToObject specifies an application on the same computer that is not running, AppleScript launches the application.